/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package embeddedpaint.user_interface.tools;

import embeddedpaint.model.feature.AImageTool;
import embeddedpaint.model.layers.LayerManager;
import embeddedpaint.user_interface.tools.dialog.FrameUpdateProperties;
import java.awt.event.ActionEvent;
import javax.swing.JFrame;

public class ToolsUpdatePropreties extends AImageTool
{
    private static final String M_LABEL_TEXT = "Change properties";
    private static final String M_ICON_PATH  = "images/change_properties.png";

    public ToolsUpdatePropreties (LayerManager imageManager, JFrame application)
    {
        super(imageManager, application);
    }

    @Override
    public void actionPerformed (ActionEvent e)
    {
        FrameUpdateProperties frameUpdateProperties = new FrameUpdateProperties(m_imageManager, m_application);
    }

    @Override
    public String getLabel ()
    {
        return M_LABEL_TEXT;
    }

    @Override
    protected String getIconName ()
    {
        return M_ICON_PATH;
    }
}
